package com.leyou.item.service;

import java.util.ArrayList;
import java.util.Collections;

/**
 * @Auther: xiang
 * @Date: 2019/9/17 10:49
 * @Description:
 */
public class demo {
    public static void main(String[] args) {
        ArrayList<Integer> list = new ArrayList<>();
        list.add(1);
        list.add(135);
        list.add(15);
        list.add(155);
        list.add(13);
        list.add(1455);
        Collections.sort(list);
        for (Integer integer : list) {
            System.out.println("integer = " + integer);
        }


    }


}